package com.yx.xf.Dict.ui;

import java.sql.ResultSet;
import java.sql.SQLException;

public   class  DictRowMapper implements org.springframework.jdbc.core.RowMapper {

 
    public Object mapRow(ResultSet rs, int arg1) throws SQLException  {
        Dict model=new Dict();
        model.setDictattribute(rs.getInt("dictattribute")) ;
        model.setDictid(rs.getString("dictid")) ;
        model.setDictname(rs.getString("dictname")) ;
        model.setIsenable(rs.getString("isenable")) ;
        model.setParentid(rs.getString("parentid")) ;
        return model;
    }
}
